package com.kingtop.base.model;

import org.kingtop.mybatis.persistence.Column;
import org.kingtop.mybatis.persistence.Id;
import org.kingtop.mybatis.persistence.Table;

/**
 * 菜单表
 * @author Administrator
 * @version 1.0
 * @created 2017-12-17 22:10:58
 */
@Table(name="T_BASE_MENU")
public class BaseMenu implements java.io.Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = -5569669220739336990L;

	@Id
	@Column(name="ID")
	private Long id;
	
	/**
	*	父功能节点id
	*/
	@Column(name="PARENT_ID")
	private Long parentId;
	
	/**
	*	功能名称
	*/
	@Column(name="LABEL")
	private String label;
	
	/**
	*	功能链接
	*/
	@Column(name="URL")
	private String url;
	
	/**
	*	备注
	*/
	@Column(name="REMARK")
	private String remark;
	
	/**
	*	正常样式
	*/
	@Column(name="CLASS_NAME")
	private String className;
	
	/**
	*	排序
	*/
	@Column(name="SORT_FLAG")
	private Long sortFlag;
	
	/* (non-Javadoc)
	 * @see java.lang.Object#toString()
	 */
	@Override
	public String toString() {
		return "BaseMenu [id=" + id + ", parentId=" + parentId + ", label=" + label + ", url=" + url + ", remark=" + remark + ", className=" + className + ", sortFlag=" + sortFlag + "]";
	}

	public BaseMenu(){
		
	}
	
	public void setId(Long id)
	{
		this.id = id;
	}
	
	public Long getId()
	{
		return this.id;
	}
	
	public void setParentId(Long parentId)
	{
		this.parentId = parentId;
	}
	
	public Long getParentId()
	{
		return this.parentId;
	}

	public void setLabel(String label)
	{
		this.label = label;
	}
	
	public String getLabel()
	{
		return this.label;
	}

	public void setUrl(String url)
	{
		this.url = url;
	}
	
	public String getUrl()
	{
		return this.url;
	}

	public void setRemark(String remark)
	{
		this.remark = remark;
	}
	
	public String getRemark()
	{
		return this.remark;
	}

	public void setClassName(String className)
	{
		this.className = className;
	}
	
	public String getClassName()
	{
		return this.className;
	}

	public void setSortFlag(Long sortFlag)
	{
		this.sortFlag = sortFlag;
	}
	
	public Long getSortFlag()
	{
		return this.sortFlag;
	}

}